import Store from './index';
import { apiGetHousingList } from '../api';

//房源管理列表
export const getHousingList = (data?:any) => {
    apiGetHousingList(data).then(res => {
        Store.dispatch({type:'GET_HOUSING_LIST', payload:res.data});
    })
}